package com.steven.design.JieGou_Pattern.decorate.touming;

public class AddMemory implements IComputer{

    private IComputer computer;

    public AddMemory(IComputer computer){
        this.computer =computer;
    }
    @Override
    public int getPrice() {
        return computer.getPrice()+100;
    }
}
